package com.magic.gre.ui.fragment;

import android.os.Bundle;
import android.view.View;

import com.magic.gre.R;
import com.magic.gre.base.fragment.BaseFragment;
import com.noname.lib_base_java.entity.MsgEvent;
import com.noname.lib_base_java.net.RxBus;

import butterknife.OnClick;

/**
 * Author: Lmoumou
 * Date: 2019-01-11 16:44
 * 文件名: Guide1Fragment
 * 描述:
 */
public class Guide1Fragment extends BaseFragment {

    public static Guide1Fragment newInstance() {
        return new Guide1Fragment();
    }

    @Override
    protected int getLayoutId() {
        return R.layout.fragment_guide_1;
    }

    @Override
    protected void initView(View view, Bundle savedInstanceState) {

    }

    @OnClick(value = {R.id.next_tv})
    protected void onClick(View view) {
        switch (view.getId()) {
            case R.id.next_tv:
                MsgEvent msgEvent = new MsgEvent(MsgEvent.GUIDE_NEXT);
                msgEvent.put("next", 1);
                RxBus.getInstance().post(msgEvent);
                break;
        }
    }
}
